<%@ page import="java.util.regex.Pattern" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>体重计算器</title>
    <style type="text/css">
        input[type=text] {
            width: 100%;
            color: blue;
            font-weight: bold;
            font-size: xx-large;
            font-family: "Courier New";
        }

        div {
            width: 260px;
            color: green;
        }
    </style>
</head>
<body>
<center>
    <H1>体重计算器</H1>
    <form action="cal.jsp">
        <table border="1px" width="360px">
            <tr>
                <td>
                    性别：
                </td>
                <td>
                    <input type="radio" name="sex" value="1"><img src="image/M.png" width="64" height="64">
                    <input type="radio" name="sex" value="0"><img src="image/F.png" width="64" height="64">
                </td>
            </tr>
            <tr>
                <td>
                    身高：
                </td>
                <td>
                    <input type="text" name="height" placeholder="请输入您的实际身高（CM）">
                </td>
            </tr>
            <tr>
                <td>
                    体重：
                </td>
                <td>
                    <input type="text" name="weight" placeholder="请输入您的实际体重（KG）">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <input type="submit" value="计算">
                </td>
            </tr>
        </table>
    </form>

</center>

</body>
</html>
